package com.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author GongChengShi
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EduUserLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "LOG_ID", type = IdType.AUTO)
    private Integer logId;

    /**
     * 登录时间
     */
    @TableField("LOGIN_TIME")
    private LocalDateTime loginTime;

    /**
     * 登录IP
     */
    @TableField("IP")
    private String ip;

    /**
     * 用户ID
     */
    @TableField("USER_ID")
    private Integer userId;

    /**
     * 操作系统
     */
    @TableField("OS_NAME")
    private String osName;

    /**
     * 浏览器
     */
    @TableField("USER_AGENT")
    private String userAgent;


}
